---
title: Update a prompt
sidebarTitle: Update a prompt
---

Navigate to the  section in the left-hand sidebar or from the application homepage and click on the prompt you want to edit.

## Update metadata

To update the prompt metadata (description, use cases, etc.) click the "Edit" pencil icon.

![](/langsmith/images/metadata-edit-button.png)

Your prompt metadata will be updated upon save.

![](/langsmith/images/update-prompt-form.png)

## Update the prompt content

To update the prompt content itself, you need to enter the prompt playground. Click "Edit in playground". Now you can make changes to the prompt and test it with different inputs. When you're happy with the prompt, click "Commit" to save it.

![](/langsmith/images/edit-in-playground.png)
![](/langsmith/images/prompt-playground-edit-commit.png)

## Version a prompt

When you add a commit to a prompt, a new version of the prompt is created. You can view all historical versions by clicking the "Commits" tab in the prompt view.

![](/langsmith/images/prompt-commits-tab.png)
